.cardview-container{
    min-height: 100vh;
    min-height: 100dvh;
}

.bg{
    height: 100vh;
    height: 100dvh;
}

.webm-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100vh;
    object-fit: cover;
    will-change: transform;

    z-index: 10;   /* always on top */
    pointer-events: none; /* allows clicking through */
    opacity: 0;
    transition: opacity 3s ease;
}

.webm-overlay.active {
    opacity: 0.67;
    transform: translateX(-50%);
}

.bottom-bar{
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(7.5dvh);
    width: 576px;
    height: 7.5dvh;
    /*background-color: rgba(255, 255, 255, 0.75);*/
    backdrop-filter: blur(5px);            /* the blur effect */
    -webkit-backdrop-filter: blur(5px);    /* for Safari */
    z-index: 9999;
    opacity: 0;
    transition: all 1s ease;
}

.bottom-bar.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 576px) {
    .cardview-container{
        min-width: 100vw;
    }

    .bg{
        width: 100vw;
        min-width: 100dvw;
    }

    .webm-overlay{
        width: 100vw;
        min-width: 100dvw;
    }

    .bottom-bar{
        width: 100vw;
        min-width: 100dvw;
    }

    .cd-container{
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 577px) {
    .cardview-container{
        max-width: 576px;
    }

    .bg{
        width: 576px;
    }

    .webm-overlay{
        min-width: 576px;
    }

    .bottom-bar{
        width: 576px;
    }

    .cd-container{
        width: 576px;
        max-width: 576px;
    }
}